% latex table generated in R 4.4.2 by xtable 1.8-4 package
% Wed Apr 16 10:36:17 2025
\begin{table}[ht]
\centering
\begin{tabular}{lrrr}
  \hline
category & pct. in survey & pct. in population & difference \\ 
  \hline
Female & 48.1 & 50.6 & -2.5 \\ 
  Male & 51.9 & 49.4 & 2.5 \\ 
   \hline
Age 18-29 & 11.2 & 19.4 & -8.2 \\ 
  Age 30-39 & 11.2 & 15.1 & -3.9 \\ 
  Age 40-49 & 13.4 & 15.6 & -2.2 \\ 
  Age 50-59 & 22.0 & 17.1 & 4.9 \\ 
  Age 60-69 & 21.1 & 14.3 & 6.8 \\ 
  Age 70-up & 21.1 & 18.6 & 2.5 \\ 
   \hline
Capital region & 32.1 & 31.8 & 0.3 \\ 
  Midtjylland & 24.6 & 22.7 & 1.9 \\ 
  Nordjylland & 10.8 & 10.2 & 0.6 \\ 
  Sjælland & 12.7 & 14.4 & -1.7 \\ 
  Syddanmark & 19.8 & 20.9 & -1.1 \\ 
   \hline
Elementary & 13.6 & 18.7 & -5.1 \\ 
  High school & 6.7 & 11.2 & -4.5 \\ 
  Professional & 41.1 & 31.7 & 9.4 \\ 
  Short tertiary & 7.3 & 5.6 & 1.7 \\ 
  Bachelor & 21.1 & 19.8 & 1.3 \\ 
  Master & 10.1 & 12.9 & -2.8 \\ 
   \hline
\end{tabular}
\caption{Comparing proportions of Study 1 respondents in demographic categories to Danish population statistics (source: Danmark Statistik, Q1 2022).} 
\label{tab:represent}
\end{table}
